$OpenBSD: patch-gcc_ada_mlib-utl_adb,v 1.1.1.1 2011/11/14 13:00:56 pascal Exp $
--- gcc/ada/mlib-utl.adb.orig	Mon Nov 14 13:41:37 2011
+++ gcc/ada/mlib-utl.adb	Mon Nov 14 13:41:45 2011
@@ -412,7 +412,7 @@ package body MLib.Utl is
       if Driver_Name = No_Name then
          if Gcc_Exec = null then
             if Gcc_Name = null then
-               Gcc_Name := Osint.Program_Name ("gcc", "gnatmake");
+               Gcc_Name := Osint.Program_Name ("egcc", "gnatmake");
             end if;
 
             Gcc_Exec := Locate_Exec_On_Path (Gcc_Name.all);
